<!DOCTYPE html>
<html>
 <head>
  <title>CSS Test: SVG presentation attribute and rotate with origin - length values don't need unit types</title>
  <link rel="author" title="Dirk Schulze" href="dschulze@adobe.com"/>
  <link rel="help" href="http://www.w3.org/TR/css3-transforms/#two-d-transform-functions"/>
  <link rel="help" href="http://www.w3.org/TR/css3-transforms/#svg-transform-functions"/>
  <link rel="match" href="reftest/svg-rotate-origin-ref.xht"/>
  <meta name="flags" content="svg"/>
  <meta name="assert" content="The rotate transform function must support two optional translation arguments for the origin. Test that the values can be unit less. The rectangle in the test should be rotated by 90 degrees clockwise with and offset in ther vertical and horizontal direction."/>
  <style type="text/css">
    svg {
      width: 200px;
      height: 200px;
    }
  </style>
 </head>
 <body>
   <p>You should see a vertical fuchsia stripe next to an orange stripe.</p>
   <svg>
     <!-- Fill with Gradient to avoid false positive. -->
     <defs>
       <linearGradient id="grad" x2="0%" y2="100%">
         <stop offset="50%" stop-color="orange"/>
         <stop offset="50%" stop-color="fuchsia"/>
       </linearGradient>
     </defs>
     <rect x="100" y="100" width="100" height="100" fill="url(#grad)" transform="rotate(90, 150, 150)"/>
   </svg>
 </body>
</html>